package com.his.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.his.bean.DzmHisSupplier;
import com.his.mapper.DzmHisMedicinesMapper;
import com.his.service.DzmHisSupplierService;
import com.his.mapper.DzmHisSupplierMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
*
*/

@Service
public class DzmHisSupplierServiceImpl extends ServiceImpl<DzmHisSupplierMapper, DzmHisSupplier>
implements DzmHisSupplierService{

    @Autowired
    DzmHisSupplierMapper dzmHisSupplierMapper;

    @Override
    public List<DzmHisSupplier> DzmHisSupplier_list() {
        return dzmHisSupplierMapper.DzmHisSupplier_list();
    }

    @Override
    public Long DzmHisSupplier_delete(Long sid) {
        return dzmHisSupplierMapper.DzmHisSupplier_delete(sid);
    }

    @Override
    public int DzmHisSupplier_insert(DzmHisSupplier dzmHisSupplier) {
        return dzmHisSupplierMapper.DzmHisSupplier_insert(dzmHisSupplier );
    }

    @Override
    public int DzmHisSupplier_update(DzmHisSupplier dzmHisSupplier) {
        return dzmHisSupplierMapper.DzmHisSupplier_update(dzmHisSupplier);
    }

    @Override
    public DzmHisSupplier  DzmHisSupplier_getByid(Integer sid) {
        return dzmHisSupplierMapper.DzmHisSupplier_getByid(sid);
    }
}
